package com.b511.swpu.cementbackend.service;

import com.b511.swpu.cementbackend.dto.input.BA_WellInputDto;
import com.b511.swpu.cementbackend.dto.input.WorkBaseInputDto;
import com.b511.swpu.cementbackend.dto.input.WorkQueryDto;
import com.b511.swpu.cementbackend.entity.BA_Well;
import com.b511.swpu.cementbackend.util.R;
import org.springframework.data.domain.PageRequest;

import javax.servlet.http.HttpServletResponse;

public interface WorkBaseService {

    R getWorkByCondition(WorkBaseInputDto workBaseInputDto, PageRequest pageRequest) throws Exception;

    R getCountry();

    R getCompany();

    R getArea();

    R getBlock();

    R getOilField();

    R getWellType();

    R getWellSpacing();

    R buildWell(BA_Well ba_well);

    R deleteWell(String wellName);

    R getWell(String wellName);

    R putWell(BA_WellInputDto ba_WellInputDto);
}
